<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:1px;">
  <t:datagrid name="saleOutSumByItList" title="销售出库汇总（依产品）" actionUrl="saleMinidaoController.do?it_datagrid"  idField="id"  fit="true" queryMode="group" autoLoadData="false" pagination="false">
   <t:dgCol title="编号" field="id" hidden="false" ></t:dgCol>
   <t:dgCol title="日期" field="FDate"  formatter="yyyy-MM-dd"  isDate="true" query="true" queryMode="group" hidden="false" ></t:dgCol>
   <t:dgCol title="物料类别" field="FName1" sortable="false"></t:dgCol>
   <t:dgCol title="物料代码" field="FNumber" query="true" sortable="false"></t:dgCol>
   <t:dgCol title="物料名称" field="FName" query="true" sortable="false"></t:dgCol>
   <t:dgCol title="厚度" field="FModel" query="true" sortable="false"></t:dgCol>
   <t:dgCol title="单位" field="FCUUnitName" sortable="false"></t:dgCol>
   <t:dgCol title="数量" field="FCUUnitOutQty" sortable="false"></t:dgCol>
   <t:dgCol title="单价" field="FConsignPrice" sortable="false"></t:dgCol>
   <t:dgCol title="金额" field="FConsignAmount" sortable="false"></t:dgCol>
   	<t:dgToolBar title="导出"  icon="icon-print"    onclick="export2()"  operationCode="export"></t:dgToolBar>
  </t:datagrid>
  </div>
</div>


<script type="text/javascript" charset="utf-8">
	/*
	 *	excel导出
	 */
	function export2() {
		export1("saleMinidaoController.do?export_itlist","saleOutSumByItList");
	}
	
</script>

